/*================================================================
*   Copyright (C) 2025 baichao All rights reserved.
*
*   文件名称：Notification.h
*   创 建 者：baichao
*   创建日期：2025年01月02日
*   描    述：
*
================================================================*/

#ifndef DESIGN_PATTERNS_DIP_GOOD_NOTIFICATION_H_
#define DESIGN_PATTERNS_DIP_GOOD_NOTIFICATION_H_

#include "NotificationService.h"

// 通知模块
typedef struct Notification {
  NotificationService *service;
  void (*notify)(struct Notification *, const char *message);
} Notification;

void notify_impl(Notification *notification, const char *message);

#endif  // DESIGN_PATTERNS_DIP_GOOD_NOTIFICATION_H_
